<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Upload</title>
</head>
<body>
<form action="/upload" method="post" enctype="multipart/form-data">
    <input type="file" name="file" />
     <button type="submit">确认上传</button>
</form>
{% for i in file_list %}
{{ i }} <a href="/static/img/{{i}}">下载</a><br>
{% endfor %}
</body>
</html>